import _http from '@/utils/http'

export default {
    equipmentTypeList(params, loading, headers) {
        return _http('post', {
            url: '/eas/manage/yilian/equipment-type/page-list',
            apiName: '型号列表',
        }, params, loading, headers)
    },

    equipmentTypeCreate(params, loading, headers) {
        return _http('post', {
            url: '/eas/manage/yilian/equipment-type/create',
            apiName: '型号新增',
        }, params, loading, headers)
    },

    equipmentTypeModify(params, loading, headers) {
        return _http('post', {
            url: '/eas/manage/yilian/equipment-type/modify',
            apiName: '型号修改',
        }, params, loading, headers)
    },

    equipmentTypeDelete(params, loading, headers) {
        return _http('post', {
            url: '/eas/manage/yilian/equipment-type/delete',
            apiName: '型号删除',
        }, params, loading, headers)
    },

    equipmentTypeChooseList(params, loading, headers) {
        return _http('post', {
            url: '/eas/manage/yilian/equipment-type/choose-list',
            apiName: '型号下拉',
        }, params, loading, headers)
    },
}
